package com.wonder.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_sfc_optrpt_res")
@ApiModel(value="t_sfc_optrpt_res", description="汇报限制")
public class SfcOptrptRes extends Model<SfcOptrptRes> {

    @TableId(value ="id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "编号")
    private Long id;

    @TableField(value = "planNo")
    @ApiModelProperty(name = "planNo" , value = "工单号")
    private String planNo;

    @TableField(value = "operNo")
    @ApiModelProperty(name = "operNo" , value = "工序号")
    private Long operNo;


    @TableField(value = "createTime")
    @ApiModelProperty(name = "createTime" , value = "创建时间")
    private Date createTime;


    @TableField(value = "createUserName")
    @ApiModelProperty(name = "createUserName" , value = "创建人")
    private String createUserName;


    @TableField(value = "trayNo")
    @ApiModelProperty(name = "trayNo" , value = "托号")
    private String trayNo;

    @TableField(value = "restriction")
    @ApiModelProperty(name = "restriction" , value = "限制汇报时间")
    private Integer restriction;

    @TableField(value = "specification")
    @ApiModelProperty(name = "specification" , value = "件号")
    private String specification;

    @TableField(value = "workShopName")
    @ApiModelProperty(name = "workShopName" , value = "车间")
    private String workShopName;



}
